package jzqb.dao;

import jzqb.bo.*;

import java.util.List;

/**
 * 自用库数据层接口
 */
public interface KnowledgeDao {

    /**
     * 这个是group by 的sql
     * @param knowleageConditionBo
     * @return
     */
    List<StandKnowleageBo> ComplexSearchGroup(KnowleageConditionBo knowleageConditionBo);

    Integer getDataSourCount(DataCountBo dataCountBo);

    List<StandardBo> ComplexSearch(KnowleageConditionBo knowleageConditionBo);

    Long findComplexSearchCount(KnowleageConditionBo knowleageConditionBo);

    QBZSBo getKnowledgeDetail(QBZSBo qbzsBo);

    Long selectCountNumber(CountNumberBo countNumberBo);

    StandardBo getLocalKnowLeage(QBZSBo qbzsBo);

    List<StandardBo> ralatedArticlesList(String sql);

    StandardBo getBoById(QBZSBo qbzsBo);

    Boolean updateDownTime(StandardBo standardBo);

    Long findTheValue(KnowleageConditionBo knowleageConditionBos);

    List<StandardBo> getResultByAuthor(StandardBo standardBo);

    List<StandardBo> getResultByOrganization(StandardBo standardBo);

    List<StandardBo> getResultByKeyword(StandardBo standardBo);

    List<StandardBo> getRalatedArticlesList(StandardBo standardBo);
}
